package com.xs.project.mapper;

import com.xs.project.entity.XsSubCourse;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface XsSubCourseMapper {
    void insertXsSubCourse(XsSubCourse xsSubCourse);
    List<XsSubCourse> selectXsSubCourse(String courseName);
    void updateXsSubCourse(XsSubCourse xsSubCourse);
    void deleteXsSubCourse(Integer id);
}
